@extends('WShop::layout')
<style>
    .team_tab {
        width: 100%;
        margin-top: 10px;
    }
    .team_tab tr th, .team_tab tr td {
        padding: 13px 0;
        text-align: center;
        border-bottom: 1px solid #2c3367;
        background: #2e3c6d;
        color: #fff;
        font-size: 12px;
    }
</style>
@section('content')
    @component('WShop::public.header')
        @slot('page_title'){{$page_title}} @endslot
    @endcomponent
    <div class="mui-content mui-scroll-wrapper" id="pullrefresh" style="background-color: #2c3367">
        <div class="mui-scroll">

            <div class="mui-table-view mui-table-view-chevron mui-bottom user-daishou">

                <div class="user-daishou-main active"  id="pull-load" >

                    <table class="team_tab" cellpadding="0" cellspacing="0">
                        <tr>
                            <th>打款星级</th>
                            <th>打款人数</th>
                            <th>打款金额</th>
                        </tr>
                        @foreach($list as $key=>$item)
                        <tr>
                            <td>第{{$key}}级别</td>
                            <td>{{$item['sum_total']}}</td>
                            <td>{{$item['sum_money']}}</td>
                        </tr>
                        @endforeach
                    </table>

                </div>
            </div>
        </div>
    </div>
    @include('WShop::public.foot_bar',['active'=>'user'])
@endsection
@push('scripts')

@endpush